//
// Created by wze-zero on 2024/8/3 003.
//
#include <iostream>

using namespace std;

int main() {
    char c;
    while (cin >> c) {
        getchar();
        if (c >= 'A' && c <= 'Z') {
            c += 32;
            putchar(c);
            cout << endl;
        } else {
            break;
        }
    }
    return 0;
}